var target: Transform;

function Update () {
	// need an if state ment to control
	if(transform.position.z < 1700)
	{
		transform.Translate(20*(Vector3.forward * Time.deltaTime), Space.World);
	}else{
		transform.position.z = -1700;
	}
	transform.LookAt(target);
}